<?php

use Illuminate\Database\Seeder;
use App\Models\Renting;
class RentingSeeds extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        # 清空表
        Renting::truncate();
        factory(Renting::class,10)->create();
    }
}
